﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharedLib.BasicServices.MessageFramework;

namespace Tracy.Messages
{
    public class TaskMessage : AppMessage
    {
        Type _handler;
        public override Type Handler
        {
            get { return _handler; }
        }

        public TaskMessage(object sender, Type handler, MessageCallback callback)
            : base(sender, null, callback)
        {
            _handler = handler;
        }

        public TaskMessage(object sender, Type handler, object data, MessageCallback callback)
            : base(sender, data, callback)
        {
            _handler = handler;
        }
    }
}
